package com.atguigu.bigdata.scala.mytest.chapter02

object DataType {
  def main(args: Array[String]): Unit = {
    val a : Int = 1
    val c : Char = 'A' + 1
    //错误
    //val d : Char='A'+a
    println(c)
    // println(d)

    val b: Byte = a.toByte
    println(b)
    val s: String = a.toString
    println(s)
  }
}
